package com.fresher.model;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the user_attempts database table.
 * 
 */
@Entity
@Table(name="user_attempts")
//@NamedQuery(name="UserAttempt.findAll", query="SELECT u FROM UserAttempt u")
public class UserAttempt implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	private String attempts;

	@Temporal(TemporalType.TIMESTAMP)
	private Date lastModified;

	private String username;

	public UserAttempt() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAttempts() {
		return this.attempts;
	}

	public void setAttempts(String attempts) {
		this.attempts = attempts;
	}

	public Date getLastModified() {
		return this.lastModified;
	}

	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}